{template header}

<div style="height:40px;"></div>

<div class="midder">

<div class="qi_c_c">
<div class="qi_c_cleft">

<div id="db-usr-profile">
<div class="pic">
<a href="{$TS_SITE[base][site_url]}{$TS_URL[space]}{$strUser[userid]}{$TS_URL[suffix]}">
<img alt="{$strUser[username]}" src="{$strUser[face]}">
</a>
</div>
<div class="info">
<h1>
{$strUser[username]}
</h1>

<ul>
<li><a href="">小组</a></li>
</ul>

</div>
</div>
<div class="clear"></div>

<div id="recs" class="">
    <h2>
        {$strUser[username]}发布的帖子
         &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
            <span class="pl">&nbsp;(
                <a href="#">全部</a>
            ) </span>
    </h2>

<div class="spacetopic">
<!--{if $arrMyTopic}-->
<table width="100%">
<!--{loop $arrMyTopic $key $item}-->
<tr>
<td><img src="data/public/image/topic.gif" align="absmiddle"  title="[帖子]" alt="[帖子]" />
<a href="index.php?app=group&ac=topic&topicid={$item[topicid]}">{$item[title]}</a>&nbsp;&nbsp;</td>
<td style="font-size:10px;">{$item[count_comment]}</td>
<td style="width:100px;text-align:right;color:#999999;font-size:10px;">{php echo date('Y-m-d H:i',$item[addtime])}</td>
</tr>
<!--{/loop}-->
</table>
<!--{else}-->
<div style="padding:50 0;color:#999999;">这个人很懒，什么也不愿意留下！</div>
<!--{/if}-->
</div>

<div class="clear"></div>
</div>

<div id="recs" class="">
    <h2>
        {$strUser[username]}回复的帖子
         &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
            <span class="pl">&nbsp;(
                <a href="#">全部</a>
            ) </span>
    </h2>

<div class="spacetopic">
<!--{if $arrMyComment}-->
<table width="100%">
<!--{loop $arrMyComment $key $item}-->
<tr>
<td><img src="data/public/image/topic.gif" align="absmiddle"  title="[帖子]" alt="[帖子]" />
<a href="index.php?app=group&ac=topic&topicid={$item[topicid]}">{$item[title]}</a>&nbsp;&nbsp;</td>
<td style="font-size:10px;">{$item[count_comment]}</td>
<td style="width:100px;text-align:right;color:#999999;font-size:10px;">{php echo date('Y-m-d H:i',$item[addtime])}</td>
</tr>
<!--{/loop}-->
</table>
<!--{else}-->
<div style="padding:50 0;color:#999999;">这个人很懒，什么也不愿意留下！</div>
<!--{/if}-->
</div>

<div class="clear"></div>
</div>

<div id="recs" class="">
    <h2>
        {$strUser[username]}收藏的帖子
         &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
            <span class="pl">&nbsp;(
                <a href="#">全部</a>
            ) </span>
    </h2>

<div class="spacetopic">
<!--{if $arrMyCollect}-->
<table width="100%">
<!--{loop $arrMyCollect $key $item}-->
<tr>
<td><img src="data/public/image/topic.gif" align="absmiddle"  title="[帖子]" alt="[帖子]" />
<a href="index.php?app=group&ac=topic&topicid={$item[topicid]}">{$item[title]}</a>&nbsp;&nbsp;</td>
<td style="font-size:10px;">{$item[count_comment]}</td>
<td style="width:100px;text-align:right;color:#999999;font-size:10px;">{php echo date('Y-m-d H:i',$item[addtime])}</td>
</tr>
<!--{/loop}-->
</table>
<!--{else}-->
<div style="padding:50 0;color:#999999;">这个人很懒，什么也不愿意留下！</div>
<!--{/if}-->
</div>

<div class="clear"></div>
</div>



<div class="clear"></div>

</div>

<div class="qi_c_cright">

<div id="profile">

<div class="infobox">
<div class="ex1"><span></span></div>
<div class="bd">
<img alt="" class="userface" src="{$strUser[bigface]}">

<div class="user-info">
<div class="pl">UID:{$strUser[userid]} <br> {php echo date('Y-m-d',$strUser[addtime])} 加入</div>
<!--{if $strUser[userid] != $TS_USER[user][userid]}-->
<div class="user-opt">

<!--{if $strUser[isfollow]}-->
<div class="user-group" style="display: block;">
<span class="user-cs">已关注</span>
<span class="user-rs"><a href="javascript:void('0');" onclick="user_nofollow('{$TS_USER[user][userid]}','{$strUser[userid]}');">取消关注</a></span>
</div>
<!--{else}-->
<a class="a-btn-add mr10 add_contact" id="follow" href="javascript:void(0);" onclick="user_follow('{$TS_USER[user][userid]}','{$strUser[userid]}');">跟随此人</a>
<!--{/if}-->
<a href="index.php?app=user&ac=message&ts=message_add&touserid={$strUser[userid]}" rel="nofollow" class="a-btn mr5">发消息</a>
<div id="divac"></div>
</div>
<!--{/if}-->
</div>

<div class="sep-line"></div>
<div class="user-intro">

<div class="j edtext pl" id="edit_intro">
<span id="intro_display">
同城：<!--{if $strUser[cityid]!='0'}-->{$strUser[city][cityname]}<!--{else}-->火星<!--{/if}--><br /><br />
<!--{if $strUser[blog]}-->博客：{$strUser[blog]}<br /><br /><!--{/if}-->
<!--{if $strUser[about]}-->关于：{$strUser[about]}<br /> <br /><!--{/if}-->
<!--{if $strUser[signed]}-->签名：{$strUser[signed]}<br /><br /><!--{/if}-->

<!--{if $strUser[userid] == $TS_USER[user][userid]}-->[<a href="index.php?app=user&ac=set&ts=base">修改个人信息</a>]<!--{/if}-->
</span>
</div>

</div>

</div>
<div class="ex2"><span></span></div>
</div>


</div>
<div class="clear"></div>

<div id="friend">

<h2>
{$strUser[username]}跟随的人
&nbsp;·&nbsp;·&nbsp;·
<span class="pl">&nbsp;(
<a href="index.php?app=user&ac=follow&userid={$strUser[userid]}">全部{$strUser[count_follow]}</a>
) </span>
</h2>

<!--{loop $arrFollowUser $key $item}-->
<dl class="obu"><dt><a class="nbg" href="{$TS_SITE[base][site_url]}{$TS_URL[space]}{$item[userid]}{$TS_URL[suffix]}"><img alt="{$item[username]}" class="m_sub_img" src="{$item[face]}"></a></dt>
<dd><a href="{$TS_SITE[base][site_url]}{$TS_URL[space]}{$item[userid]}{$TS_URL[suffix]}">{$item[username]}</a></dd>
</dl>
<!--{/loop}-->

<br clear="all">

<a href="index.php?app=user&ac=followed&userid={$strUser[userid]}">&gt; 被{$strUser[count_followed]}人跟随</a>

</div>

<div id="group" class="">

<h2>
{$strUser[username]}参加的小组
&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
<span class="pl">&nbsp;(
<a href="">全部</a>
) </span>
</h2>

<!--{loop $arrGroup $key $item}-->
<dl class="ob"><dt><a href="index.php?app=group&ac=group&groupid={$item[groupid]}"><img alt="{$item[groupname]}" class="m_sub_img" src="{$item[groupicon]}"></a></dt>
<dd><a href="index.php?app=group&ac=group&groupid={$item[groupid]}">{$item[groupname]}</a> <span>({$item[count_user]})</span>
</dd></dl>
<!--{/loop}-->

<div class="clear"></div>

</div>

<p class="pl">订阅{$strUser[username]}的收藏: <br><span class="feed">
<a href="#"> feed: rss 2.0</a></span></p>
</div>


</div>
</div>
{template footer}